const express = require('express')
const router = express.Router()
const order = require('../../middleware/order/order')
const jwtParse = require('../../middleware/jwtParse/jwtParse')

router.use(express.json())
router.post('/orderCreate',jwtParse, order.orderCreate)
router.get('/orderGet',jwtParse, order.orderGet)
router.get('/orderGetRmk',jwtParse, order.orderGetRmk)
router.get('/orderGetNoPay',jwtParse, order.orderGetNoPay)
router.post('/orderSubmit',jwtParse, order.orderSubmit)
router.post('/submitRemark',jwtParse, order.submitRemark)
router.get('/remarkList',jwtParse, order.remarkList)

module.exports = router